Add clean up function for log files. Changed daemon startup code.
Shut down clusters after test done. USe logger instead of print.