Initial commit.

Very rough draft code.