Added Profile Service definitions

Removed spaces and added profile service tests.