making hooks executable
changing hook execution
added needed requirements to connect to mysql
app.py: created view to test mysql connection