API: moved reports API to separate module