added get_methods, start working on generate_doc method