Write a class Employee that takes a parameter of type MutableMap as a constructor and has properties for name, age, and salary. The values of these properties should be stored in a map instead of separate fields for each property.
name is of type String, age is Int, and salary is Double.