added template and css stuff