Added a ManyToMany "course" field to books. Added standard HTTP response.
Cleaned up the code.