rewrite the constructor builder in class_builder.js, the constructor is perfect now