Fix all stupid bugs. Use main function to test the service. Will try to
generate client to test again!