Added default HTML page. Made some refactoring.