Clean up comments, add license

Begin work to make it available to the public