added device check class to determine what we are running on