add necessary class and resources