Converting to a flask modular structure.
Adding a dev script.