Added initial support for kdm parsing