improvements

makes it compatible with ash
add monitor
add logger