making it nicer + nested locale case
some refactoring + jars integration