Added list of API methods and a --list option