Added license file and unmessed some commit errors