working ram_manager stub

added Avi's heap