Code refactored and cleaned
Merge branch 'master' of https://github.com/Gabriel-PBSL/ajax-solr