Modifications to enable loading/storing of vocabulary files

Use command create_vocab as first step
can you make these pointers ? with method signature: function(input, input, pointer output, pointer output)