adding topology component and refactoring DAO handling at RPL