Chg: Dev: work on renaming anm, renaming and refactoring nidb for gh-202 and gh-204