reorganized file structure
updated code structure and added localization support