corrections with the output and added proper commands

jira issue: wp-829
Merge pull request #3 from krishnabangalore/wp-829_modular_devicestatus

corrections with the output and added proper commands