Use static MetaDataKey
Use a template system to build the .onx resources. Fix #48