Modified Unitstatus api integration and added comments.