Added rest_api, templates, js