Added pull to refresh; created queryData method; added background views