add schedule control, this is for issue #11
add cleanup for Log module as now we have listeners