Add more DRYness, update DB
Updated apps, issues in application.js