basic layout templating and styles finished