OOP Approach

for app.coffee