Framework for creating RESTful API servers