Fix bug with always creating books as id 4
Merge branch 'master' of https://github.com/howyp/library-demo-js
Split out endpoint functions
Merge branch 'master' of https://github.com/howyp/library-demo-js
Fix up following merge