add base classes for rexpro input format