added LICENSE file
Added documentation for configuration
moved mappings out of it, specific named function