reorganized css and herounit template