added shader class and unistate. not using shader class yet