made modules which has func to put words to db