Initial templates and css fixes