added --refreshRate option, fixed --directory default value issue, dropped 2 deps