Source code for GhostPractice on the iPhone