Add Fields and constructor for class instruction