Move keyword generating from form to the keyword class