cleanup and added i18next and log4javascript