Type mapping through configuration

Added type mappings to the configuration options based on dyadyavasyas work.