various cleanup, also added hemlock-scheduler script in bin