add lib
change models
fix code for new models
clean db
fix app
add makefile