One issue that will come up is 2 factor auth complications:
See the following instructions from non-funcitonal cloud sponge implementation
Using app-specific passwords
When your Apple ID is protected with two-step verification, or two-factor authentication, you'll need to use an app-specific password to sign in to your account using any apps or services that don't support entering verification codes.
Detailed Description
figure out a way to pull contacts and connect iCloud.
Context
Possible Implementation