added command replication for solr
got rid of preprocess_command()
simplified command_helper