add main fct; basic read impl; basic addressmanager impl