A simple swift class with useful checks about current device