emodel: added emodel.c define class