Initial commit.

Added basic working functionality.