Start migration to database, add damane stuff