Periodic Jobs API

WIP