Fix distribution build to put files in the right places and added distribution files to the repo.