Cleaning up of ramdisk and adding in mem management properly  Change-Id: I882be580daf8e8631554ff3ee505ace2ee3d6890

Cleaning up of ramdisk and adding in mem management properly

Change-Id: I882be580daf8e8631554ff3ee505ace2ee3d6890