Adds logic to add lines
Refactor invoice generator to invoice builder