Added field for input IP; All constants extracted to Const.java