refactor line items controller
refactor tests
refactor line items controller