Create factory method for externa node