Added slovenian and vietnamese translation, some code refactoring