constructor model for module