Removed 'Main' from class names
Created better memory recorder class