Implemented all functions pre-existed in old homepage.