Converted init to a migration, moved migrations and thrift files to resources