setup and split classes