Extract applications from template (Haml) to Local Data