started work on generating REST handlers