changed packet handling to SimpleNetworkWrapper. Removed old packet handling files and added the new ones.