major refactor of ORM to Thinky for promises, performance, control. introduction of aliases