refactored code - moved model out of booker.js into app.js