Simple memory maneger