allow configure model by adding static function named 'configure'