add interpreter class

first test the architecture