create card class/module