switched to nested tables for storing commands, cleaned up white space, included capability for one argument, new findcommand function