added dk device class and method to check if running on ipad