added normalise + main css, cleaned up php code