Initial commit with code and tests.