Refactored a bit
Prepared for localization
Added Russian translation