setting up template and styles