Implemented NSData.

Implemented NSData, so cloud save can now be used as intended. I also
created a login callback in the manager and a few bug fixes regarding
enum's.