added some checks if a workspace is really needed
getResource is now asStream
there is still alot to do on the Workspacebuilder, migrating from Files to inputstreams