split resources.js into several files,
add aggregation charts