#249 REST API

Remove useless classes in namespaces