Jodie Foster to become a director