Mappings bugfix

Fixed NullRef exception when config file contains no mappings.
Added sample project