created model files, and updated index.html