added models for books
Added view and api for books