move file parsing into core
rename ambiguous struct fields

- rename pool to entries in vocab
- rename data to word in vocab_entry