Command line mode added

Command line mode added; fixed bug in Ip search function.