move stage creation to seperate method
add end_timestamp to stages class
use end_timestamp value to calculate duration of last stage
add parameter to set end_timestamp
add logging
allow int and float timestamps, issue #33
check end tag after loop