adds APE tests
adds RESTful interface