First Commit.

Basic function finished.