Add exec payload. Cleans up a lot of code.

Adds some yardocs and whatnot.