change module to class;and process function and implement account&keyword