Constructor and vector of parameters