Remove config class and move packet handler to proxy
Move some stuff into the proxy