Added timestamp retrieve method, used by and renamed variable in case more handlers
need to be added.
Made get_timestamp public in stbt-run.