base model for creating a map