Move backendsync service to separate file