added some reporting
Changed to always have location as first parameter
Slightly more infomration (not much)
removed bad tests
added unique constraints
refactored csv stuff into separate file