[REF] rb view base for new structure
[FIX] imports for new structure
[IMP] first meaningful db tests
[IMP] init for migration script to sqlalchemy