library controller and routes added