Changed segments schema

Created separate collection for segment categories, to allow more
flexibility for moving segments