cleanup API
fix relative time resolution from element
add relative resolution from factory