Mostly functional build and packaging