Convenience class for implementing a REST API using Node