Added command line processor and delete/clear functions