Made NV easely configurable. Made locales functionality optional