Static method for getting router