Move tokenization to Tokenizer class
Fix bug in load using getc and warnings