moved the import logic out of the rake task and into the Session model. also added some validation that will hopefully fix the bugs I have been seeing

I plan to do more with the import logic when I have more time