added more operations and support for command line interpretation