refactor(main): move the examine code into its own function
refactor(main): move the me code into its own function
refactor(main): move the quit code into its own function