Transferring blueprint from apiary.io. Updated with methods for registering, and updating a device for APN updates