Added functionality to create a vocabulary in the front end.