Create constructor in class