Wallingford agrees to deal with Sharks