Setup class with java?

I’m new with appium and I wanna know if there is some way to declare a class with all necessary imports and capabilities to make it more easy and clean to start new testes (without importig everything). I don’t know if there is a name to call this kind of class or setup.