WIP dummy app
Refactored core classes from models to lib