Fix bug in Packet
Change config to localhost
Add helper methods