Pull photos directly from database,begin altering Instagram factory