remove unneeded imports and variables
add a command to inspect functions in the api