change the code layout, remove reading of the dict,
make some variables global and add some new functons
Merge pull request #11 from nelly-hateva/deletion

change the code layout, remove reading of the dict,
some changes in addition and deletion
Merge pull request #12 from nelly-hateva/deletion

some changes in addition and deletion
temp