implemented states & roles
refactored addresses
begin role management