Changed parser to use a single output file, refactored workout dictionary creation from file writing and duplicate checking, updated tests