Moved cpu/mem constants from cpushare.cpp/mem.cpp to cpushare.hpp/mem.hpp