Broke down application into a more sane and well-defined structure; migrating from sqlite to Postgres DB (using SQLAlchemy). Whew!