add msgpack to setup.py requirements
update ORM with latest schema and refactor a bit