First commit, also made a mysql function to be filled out later which
will clean the database on start