added ram utilisation logic to `ram.js` and `servers.js`. split and refactored redundant code into separate library files.

Created by  jesse <nicoty@tuta.io>  on April 21, 2020
SLSWBNYTIFKBFLKXZTMONGDMEOHSOOCOSU4KVJCONZG2DK3BBIUQC
Change contents