add flot charts and db stuff