Abstracting Workspace management into new class AbstractResource