Modifications to enable loading/storing of vocabulary files

Use command create_vocab as first step
could you move this to nnjm_types.h ?