It was a giant open-plan office and there were only 1-2 people constantly vaping, so I didn't smell much. It was quiet though, so it could be easily heard.
Everyone else did the right thing and smoked/vaped on the roof every hour. Any why wouldn't you? It's a guaranteed break away from your crummy desk.
The server code could also be released as a binary blob under a proprietary license. No different from distributing any other piece of software.