refactoring code around an interpreter
added gitignore