Start working towards a more Panoptes like postgres model
Create indexes in bootstrap
Update postgres sql statements to match Panoptes tables.