moved most init functions to public
moving templates
updating links to static files