
The functions getMemorySize() getProcessList() have nothing to do with the server, logically speaking they should be in their own static class.
While this task is very small, I'm pretending that it isn't, for the sake of showing you our philosophy of writing code