Add missing LICENSE.md file
Small refactoring to ease method read