Pull middleclass v3.0 in, tested that it works there, minor require() to pull in middleclass module