added views folder, refactored localization