Setting up some basic bottlepy api functions

Setting up some basic bottlepy api functions