Added extra check to kikkDirectory and moved createMetaData here.
Added common metadata loader method.
Refactored metadata loader to use the method from its baseclass