Move websync into own library