increased comments and code readablity
updated readme