Working refactor of dictionary object
Remove unused functions and add comments for new ones
Merge pull request #1 from munaf/refactor

Refactor