Updated middleclass, and use of a git submodule