Merge pull request #2 from roryk/master

Unit testing data plus unit tests
Added partioning file into a header and data section.