Made books_controller and view dynamic, added time formatting helper