Executible scripts will be more readable in python
Define MySQL schema
Refine logic