add a bit more sanity to ping check code
start of getting app logic setup