Fixed bug #94. Implemented infrastucture for the localization.