Added documentation start and improved comments