REST API using bottle framework