renamed main and config to their original names
fixed main reference from config.js
moved PhetModel to js/common/model