moved character module into common directory