Change main.py to create a Bottle object

Create a Bottle object in main.py instead of having bottle use an implicit
global one. This makes life easier when we deploy with mod_wsgi and
Apache.