create engine; move application to dummy; extract controllers, models, views and services to engine; fix tests