use ids for handling actions
move shellquote to kazutils