app.js

changes to simplify classes