README, LICENSE, minor refactoring.