began initial work on constructing db objects and using sqlalchemy