Added initialize method to app prototype