Creates namespace for api and renames default scripts, stylesheets and layout