[WIP]Creating WebspaceContext class

Refactoring fir Webspace context class which we can pass about and avoid passing `$webspace`, `$userId`, `$segment`, etc, etc everywhere.