Added middleclass submodule