fixed hierarchical Registerfile function.
Added unit-test for hierarchical Registerfile
updated ToDo...