made solr work on ec2
made some interface changes