Changed REST mappings to make it possible to have multiple endpoints working. You can now for example access the segments using :

http://localhost:8181/wemi/segments

and the definitions

http://localhost:8181/wemi/definitions/conditions/tags
Merge remote-tracking branch 'origin/master'