added map prototype and field classes