add Stage class
add set_duration
add name and duration by default
return result of set_name
fix coding style