Initial commit

Not everything is here, but enough for a decent first commit.