iOS Client

Mostly implemented registration (corner cases doh)