minor paren main() refactor into map_file() and unmap_file()
have parse return result in handle
minor fix to invocation of ar in Makefile
add cleanup facilities for memory and node layers