added console and split interpreter logic into own class

preparing to create "require" functionality