construct osmdata as a proper object, no more javaesque init stuff