reports

more work on api and reports