Russian language

Hi. 

I added some refactoring and added russian language support. Can you check it and submit? Thank you!