Minor refactoring
Add meminfo