connections classes added to VIP, State implemented

Not working, it needs to be compiled with 1.6, code is for 1.7