sperate out rest api webmachine app as a seperate app