set auto player off
refactor the model to a model.js