Initial source commit

Reviewed in https://codereview.appspot.com/9702044/