Applications index logo should link to applications index
Added database helper module
Removed app/controllers/api/ and merged behavior into app/controllers.