Added class method to perform initial setup