Started writing unit tests
App reorganization
Fixed gunicorn problem, added simplest possible test and it works