documentation, refactoring and licenses