add diagnostics package and console program
Merge pull request #7 from tdial/test-client

add diagnostics package and console program