Functionality transfer
Locks removed, variables moved from instance to global, server functionality moved ....

problem with unbind atm