Moved re-usable metadata functionality into new kenyacore module