Added main function to run from cli. Need to fix test db reference for postgres.
Pulled connect function since the sqlalchemy extension runs session functions that are directly referenced in seed.
Moved file.
Moved file.
Fixed the db references so the app works again with the new structure.