renamed lib to models and moved it into app directory