Input format mrv2

Added support to mrv2 input and output format class assignment.