added == vs ====
some more reorganization
some minor changes
moved check equality
cleaned and moved some
Merge pull request #39 from khan4019/master

give me latest