app commands and app main

Does not contain add functions, delete functions (which must be modified
with this code). Has new functions which will require showCommands
function to list.