HEAVILY UNFINISHED implementation with sqlalchemy

wtf