Re factored the methods, replaced static vars and methods with private,
updated Instruction var as public in Server and called this as public in
Instruction exception handlder