Added base public methods to UpEngine.
Added  method to UpEngine.
Created UPException class.