Implement RegisterNodeType API.

Remove old configuration files support.
Merge branch 'register-node-types-api'