Cleanup for SDK builds

This pr adds an SDK-specific build to the project.

It also cleans up the documentation, and adds a couple of missing copyright headers.