Refactored the util package. Added TPEPlatform Exception class.