First commit.
Copied code from bitbucket repo.