Initial commit
Added some basic functions and tests.