Refactored, With hash pswd, Deep Copy, Exception Handler, Session Manager, Transaction Manager, Logger