Added DB Management functions and Workspace management functions