moved pygame stuff into helper file, simplified examples