Added a very basic header. Added tests for missing functionality.