Added initial NEM file generation