refactor db models structure, added uwsgi sysv-style init script