fixed sales agent end point and added tests
removed * imports
added licence header
Merge pull request #36 from edewit/feature/rest-test

fixed sales agent end point and added tests