JSON requests for charts, populated database, added filter model and improved form partials