Added a MarkerCode class. Changed the code to do more outside the
markerCodes class.