little rework on library

I've want to use it with russian language; But to use it, i need to have each word in three forms, so... here what i've got.