Add gitignore
Removes pyc files
merges in tests. Needs test data to be created. Re added some functionality to helpres and modified WriteData so a test works.