Converted to ARC

The project has been converted to ARC and compiles successfully. The
demo works also.