set up a class and the inits