Change `service` target framework to .NET 4.0

Change framework to ".NET 4.0" from ".NET Framework 4.0 Client Profile"
Add endpoint configuration to app.config