Tidy up the source files; add the dist directory