Improved client/server communication.
Added IllegalMoveException and exception handling