Refactored logs.py, added route for collective_stats to recieve json (saving the results yet to be implemented).
Made graphs a bit smaller