How to integrate serverless framework into existing python project?

I previously built a python program to process some jobs with command line execution (like python main.py -v vendor -t all). Now I would like to integrate serverless framework so that aws lambda trigger based on schedule defined in serverless.yml so basically each function will perform different tasks when it is triggered by scheduler.

My current project folder structure is like this

Project/
   core/
   models/
   ... (some more modules) ...
   main.py

What’s a good way to integrate serverless into the project? I’ve tried to make something like this

Project/
  core/
  models/
  services/
    metrics/
      handler.py
      serverless.yml
  main.py

but I wasn’t able to import modules models and core from handler.