Add general maps and aliases

this provides a defined type to handle maps.