Added a view for Agents, made som refactoring in the Client, updated the .Sql srript