Refactoring class/mixin
Adding function/constrict
using function/constrict in class/mixin