Removed old Entry class
implemented the checkSoundness method
Added some testcases