Added packet handler and more work on cables