re-arranged files so that js collections and models can be used in the main app as well as the _im app.