Moved migraiton errors in a dedicated file
Fixed imports
Made a rough service system