add Unit->Get($name)
change search to table
remove unused function
remove unused table