Split sanguis into libraries to make a dedicated server possible