improved commands,help,usage commands. added pipe command. more code cleanup.