Created workspace

Mostly from the foundation repository with some refactorings