Initial commit, already a tweaked working version.
Previous work not uploaded.