Added new config fields.
Fixed new config fields.
Refectored KMaps API into module.