getting RESTful API up, incomplete