classes turned into modules