corrected migrations, added .env and gem