Transition to ARC

Potentially pretty crashy, but it's first version which compiles