Renaming api/ to restapi/; Moving api server script to app root as restapi.js.