moved  to enum
move Instruction class to other project for now. I will figure out later
how best to distribute the functionality/interfaces among the different
projects.