added Library model and controller, with working routes