Added Doxyfile. Created class for states. Changes in Machine.h.