add support to generic pointers, fix parsing problems
add pdf readme generation