Relocating declarative_base to models.py