Added local caching of Workspaces/Projects. Re-factored dependencies