Moved to migration.hs so that i can have a standalone executable for managing the migration of the database from its current schema to the final schema
Tweaked the build till it built, was crashing cuz i was missing pthread in the linking stage, now have migration binary for taking care of any database migrations needed