Refactor interpreter

Project has been converted to (almost) proper pip package.