Added check to create classes folder