Moving Rest API to module for ease of development after release.