better sinatra class snippet
Adds alias for books.