Updated Bottle server for new History calls