added home page with most of the necessary functionality