Code refactoring. Separate html files.