added MIT-License
documentation and formatting