Refactoring: using Flask Blueprints for server modules

Created a modules folder that contains workers, shots and jobs modules.
This way the root folder is cleaner and all the specific functions
(including routes) are grouped in the right files.