Finished most parts. Now can do general messaging with server without errors.