add book functionality

Adds functionality to add new books