made TCP connection permanent, added parser, made more modular

Signed-off-by: Garage Pythons <garagepythons@gmail.com>