Theory and Applications of the Sequential Design of Experiments, k-Actions and Infinitely Many Experiments, Part I Theory