more memory anal
correction in memory count method
typo
memory stats
titleing on memory out
ok have to run as root as using same functions as in staller
option to generate keys
Seperate mkdir function

moved things around so root stuff first
only first section needs root acces