Optimize template structure, better central style, many more fixes