API: New Memory Handler object

Signed-off-by: Eduardo Silva <edsiper@gmail.com>