moved remaining print statements to log files
Added ordering algorithms as a config parameter.
Added contention handling algorithms as a config parameter.