added classes for the first version, exceptions and error view