stat class and scaling class are done (tentative)
added stack class