Added middleclass and other libs to 3rdparty dir. Changed module requiring structure.