Changes HTML structure and adds some Flat UI stuff