Fixed misc bugs in internal core utilities
Adding documentation to openddl::core