Added ValidationException and SystemException. Added some comments