Added self hosting support
Split into 3 nuget packages (base, webhost, selfhost)