migrating our books_library example to using mvc with bottle.py