add an intearctive commandline interface