Edited client and clientmodel to get networking working