Made JSON and MySQL report generators. Needs report data retrieval functions and tons of refactoring