cleaned up directory and added comments to files