Refactored code structure

Refactored folder structure and code organization to better facilitate
deployment and to introduce Flask and Gunicorn