Add mocks for testing connectivity. Add csvreader functionality
Update tests with mocks
Fixed to make test pass
Refactor to improve readability, added some business logic
Update business logic for invoice
tests passing