Class Interactive code with options to generate,evaluate and reset code