modules from object to classes