Moved dim to dedicated module.
Broke ints and using namespace std out of meta-lib.hpp and into dedicated modules.
Fixed porting artifact.