Converted Application to coffee syntax