Rewrite connection system, added /imsql add  command