Leveraging the smartphone for a safer jobsite