Added a license and better documentation.