optimized queries
updated gems; added Brakeman integration