Rearrange logging to make extracting deletion logic easier

[#68820074]

Signed-off-by: Matthew Sykes <matthew.sykes@gmail.com>
Introduce Repository for AppUsageEvents

So code to create these live close to each other and we can see discrepencies more easily

[#68820074]

Signed-off-by: Matthew Sykes <matthew.sykes@gmail.com>