Refactoring base html file with better header and styles