refactored code into nice API
add main.c, the memdump tool which uses the memdump libs
update readme