Moved back to module deploy.

Removed explicit names from modules and got rid of the single file
build. platforms/samples are current broken.
Fixed up the platform support with the new modules.