rearranged initialization, renamed CM3.html to index.html