Flask like API using pyramid