Add gradle script, K2Exception and i18n framework.