Added functions file and new command line presentation trickery.