separated Solr logic to class
Merge pull request #19 from mollux/fix/separatesolrclass

separated Solr logic to class