Put app into object. Move array shuffling to prototype.