Move restful interface to separate folder