Implement new api:routes command.
Removing some old imports.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Renaming commands directory to console.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>