#19 - moving conmodel and routes to lib/