tiles refactor

still todo: DRY charts, move kpi data into json / cdv file or ready for
api hook