Added comments and reviewed the directory structure. made some modifications.