add invoice controller and datafile