Added populate() function.

Added some more code to help with getting the Map object started.