Ed alembic

Change database creation of ed.
We now use alembic instead of sql scripts to better handle migrations