Added i18n and added some comments to the source code.