main loop

Summary:

Reviewers: eric, grant, tyrell, jacob, song, kenny, patrickcharlesmayer

Maniphest Tasks:

Reviewed By:

Differential Revision: