rough out of code for workspaces. Need to still create DB tables
added some simple test code. It should go in another class at some point but this will do for a quick dirty inteigration