Added Interactive mode

use command line parameter “-i” to launch program into interactive mode