migrated sqlfunctionmanager to initializable/destroyable
migrated 3d stuff to new workspace concept