create engine; move application to dummy; extract controllers, models, v...

...iews and services to engine; fix tests