Write area object, code for cloning area object, createAreas function to create area objects for use in makeMap function. Delete obsolete functions.