Added bottle, fixed api.py