moved modules to the collection class