port to new impl syntax
rm obsolete relative import
mut_addr_of was removed
add missing use statements
fix mutability errors