moved life cycle api out of caustic engine