working implementation of cli, commands, and all help functionality