added home template and improved style and comments