make class a module.