image piuzzle client controller implementation