Removed commented code and added Comments to code. Added destructors to IO and Dipatcher