Cleanups and beginnings of a command line interface (unix)