Adding the API mocker and form factory